package wqh.domain;

/**
 * Created by devts on 2016/9/28.
 */
public class AlarmConfirm {

    private Integer id;
    private String geo_1_name;
    private String geo_2_name;
    private String geo_3_name;
    private String device_name;
    private String device_ip_str;
    private String phone;
    private String sensor_name;
    private Integer monitor_id;
    private String monitor_name;
    private String dev_type;
    private Integer dev_addr;
    private String dev_status;
    private Byte confirm_status;
    private Integer confirm_time;
    private Integer alarm_time;
    private String user;

    public AlarmConfirm()
    {

    }

    public AlarmConfirm(String geo_1_name, String geo_2_name, String geo_3_name, String device_name, String device_ip_str,String phone, String sensor_name,Integer monitor_id, String monitor_name, String dev_type, Integer dev_addr, String dev_status, Byte confirm_status,Integer confirm_time,Integer alarm_time)
    {
        this.geo_1_name = geo_1_name;
        this.geo_2_name = geo_2_name;
        this.geo_3_name = geo_3_name;
        this.device_name = device_name;
        this.device_ip_str = device_ip_str;
        this.phone = phone;
        this.sensor_name = sensor_name;
        this.monitor_id = monitor_id;
        this.monitor_name = monitor_name;
        this.dev_type = dev_type;
        this.dev_addr = dev_addr;
        this.dev_status = dev_status;
        this.confirm_status = confirm_status;
        this.confirm_time = confirm_time;
        this.alarm_time = alarm_time;
    }

    @Override
    public String toString() {
        return "AlarmConfirm{" +
                "id=" + id +
                ", geo_1_name='" + geo_1_name + '\'' +
                ", geo_2_name='" + geo_2_name + '\'' +
                ", geo_3_name='" + geo_3_name + '\'' +
                ", device_name='" + device_name + '\'' +
                ", device_ip_str='" + device_ip_str + '\'' +
                ", phone='" + phone + '\'' +
                ", sensor_name='" + sensor_name + '\'' +
                ", monitor_id=" + monitor_id +
                ", monitor_name='" + monitor_name + '\'' +
                ", dev_type='" + dev_type + '\'' +
                ", dev_addr=" + dev_addr +
                ", dev_status='" + dev_status + '\'' +
                ", confirm_status=" + confirm_status +
                ", confirm_time=" + confirm_time +
                ", alarm_time=" + alarm_time +
                ", user='" + user + '\'' +
                '}';
    }

    public String ConfirmLog()
    {
        return  "[火警确认] " + "地点：" + geo_1_name + " _ " + geo_2_name + " _ " + geo_3_name +" | " +
                "用户信息传输装置名称："  + device_name + " | " + "用户信息传输装置IP：" + device_ip_str +
                "传感器类别：" + sensor_name + " | " + "监测点名称：" + monitor_name + " | " + "报警回路号：" + dev_addr + " | " +
                "报警内容：" + dev_status;
    }

    public String IgnoreLog()
    {
        return  "[火警忽略] " + "地点：" + geo_1_name + " _ " + geo_2_name + " _ " + geo_3_name +" | " +
                "用户信息传输装置名称："  + device_name + " | " + "用户信息传输装置IP：" + device_ip_str +
                "传感器类别：" + sensor_name + " | " + "监测点名称：" + monitor_name + " | " + "报警回路号：" + dev_addr + " | " +
                "报警内容：" + dev_status;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Integer getMonitor_id() {
        return monitor_id;
    }

    public void setMonitor_id(Integer monitor_id) {
        this.monitor_id = monitor_id;
    }

    public Integer getAlarm_time() {
        return alarm_time;
    }

    public void setAlarm_time(Integer alarm_time) {
        this.alarm_time = alarm_time;
    }

    public Integer getConfirm_time() {
        return confirm_time;
    }

    public void setConfirm_time(Integer confirm_time) {
        this.confirm_time = confirm_time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGeo_1_name() {
        return geo_1_name;
    }

    public void setGeo_1_name(String geo_1_name) {
        this.geo_1_name = geo_1_name;
    }

    public String getGeo_2_name() {
        return geo_2_name;
    }

    public void setGeo_2_name(String geo_2_name) {
        this.geo_2_name = geo_2_name;
    }

    public String getGeo_3_name() {
        return geo_3_name;
    }

    public void setGeo_3_name(String geo_3_name) {
        this.geo_3_name = geo_3_name;
    }

    public String getDevice_name() {
        return device_name;
    }

    public void setDevice_name(String device_name) {
        this.device_name = device_name;
    }

    public String getDevice_ip_str() {
        return device_ip_str;
    }

    public void setDevice_ip_str(String device_ip_str) {
        this.device_ip_str = device_ip_str;
    }

    public String getSensor_name() {
        return sensor_name;
    }

    public void setSensor_name(String sensor_name) {
        this.sensor_name = sensor_name;
    }

    public String getMonitor_name() {
        return monitor_name;
    }

    public void setMonitor_name(String monitor_name) {
        this.monitor_name = monitor_name;
    }

    public String getDev_type() {
        return dev_type;
    }

    public void setDev_type(String dev_type) {
        this.dev_type = dev_type;
    }

    public Integer getDev_addr() {
        return dev_addr;
    }

    public void setDev_addr(Integer dev_addr) {
        this.dev_addr = dev_addr;
    }

    public String getDev_status() {
        return dev_status;
    }

    public void setDev_status(String dev_status) {
        this.dev_status = dev_status;
    }

    public Byte getConfirm_status() {
        return confirm_status;
    }

    public void setConfirm_status(Byte confirm_status) {
        this.confirm_status = confirm_status;
    }
}
